-- GENERATED SPELL FOR [Frenzyheart Spearbearer] --


function spell0_28080(pUnit, Event) --@Skewer,n/a--
pUnit:FullCastSpellOnTarget(54951,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28080', 12000, 1)
end

function Sorts_28080(pUnit, Event)
local choix_sorts_28080 = math.random(0, 0)
if choix_sorts_28080 == 0 then
pUnit:RegisterEvent('spell0_28080', 1, 1)
end
end

function mob28080_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28080', math.random(1500, 3000), 1)
end

function mob28080_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28080_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28080_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28080, 1, 'mob28080_Action')
RegisterUnitEvent(28080, 2, 'mob28080_Leave')
RegisterUnitEvent(28080, 3, 'mob28080_Kill')
RegisterUnitEvent(28080, 4, 'mob28080_Die')
